package cn.csc.module.order.controller.admin.returns.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.math.BigInteger;
import java.time.LocalDateTime;

/**
 * 订单退换货 Excel VO
 *
 * @author liuchuang
 */
@Data
public class OrderReturnsExcelVO {

    @ExcelProperty("订单退换货ID")
    private BigInteger id;

    @ExcelProperty("退货编号 供客户查询")
    private String returnsNo;

    @ExcelProperty("订单编号")
    private BigInteger orderId;

    @ExcelProperty("物流单号")
    private String expressNo;

    @ExcelProperty("收货人姓名")
    private String consigneeRealname;

    @ExcelProperty("联系电话")
    private String consigneePhone;

    @ExcelProperty("备用联系电话")
    private String consigneePhoneSpare;

    @ExcelProperty("收货地址")
    private String consigneeAddress;

    @ExcelProperty("邮政编码")
    private String consigneeZip;

    @ExcelProperty("物流方式")
    private String logisticsType;

    @ExcelProperty("物流发货运费")
    private BigDecimal logisticsFee;

    @ExcelProperty("物流状态")
    private Integer orderLogisticsStatus;

    @ExcelProperty("物流结算状态")
    private Integer logisticsSettlementStatus;

    @ExcelProperty("物流最后状态描述")
    private String logisticsResultLast;

    @ExcelProperty("物流描述")
    private String logisticsResult;

    @ExcelProperty("发货时间")
    private Integer logisticsCreateTime;

    @ExcelProperty("物流更新时间")
    private Integer logisticsUpdateTime;

    @ExcelProperty("物流结算时间")
    private Integer logisticsSettlementTime;

    @ExcelProperty("0全部退单 1部分退单")
    private Byte returnsType;

    @ExcelProperty("PUPAWAY:退货入库;REDELIVERY:重新发货;RECLAIM-REDELIVERY:不要求归还并重新发货; REFUND:退款; COMPENSATION:不退货并赔偿")
    private String handlingWay;

    @ExcelProperty("退款金额")
    private BigDecimal returnsAmount;

    @ExcelProperty("退货申请时间")
    private Integer returnSubmitTime;

    @ExcelProperty("退货处理时间")
    private Integer handlingTime;

    @ExcelProperty("退货原因")
    private String remark;

    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}
